# start up the game

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from core.support import build_route, default_route

# define our routes
game_routes = [
               default_route('fifthFloor','FifthFloorHandler'),
               build_route('restart','RestartHandler'),
               
               build_route('fifthFloor','FifthFloorHandler'),
               build_route('professorRoom', 'ProfessorRoomHandler'),
               build_route('fifthFloorArena', 'FifthFloorArenaHandler'),
               build_route('fifthFloorTreasure', 'FifthFloorTreasureHandler'),
               
               build_route('fourthFloor','FourthFloorHandler'),
               build_route('networkingHall','NetworkingHallHandler'),
               build_route('fourthFloorArena', 'FourthFloorArenaHandler'),
               build_route('fourthFloorTreasure', 'FourthFloorTreasureHandler'),               
               
               build_route('thirdFloor','ThirdFloorHandler'),
               build_route('lubinRoom','LubinRoomHandler'),
               build_route('thirdFloorArena','thirdFloorArenaHandler'),
               build_route('thirdFloorTreasure','thirdFloorTreasureHandler'),
               
               build_route('secondFloor','SecondFloorHandler'),
               build_route('breadwinners','BreadwinnersHandler'),
               build_route('secondFloorArena', 'secondFloorArenaHandler'),
               build_route('secondFloorTreasure','secondFloorTreasureHandler'),
               
               build_route('firstFloor','FirstFloorHandler'),
               build_route('DellarocasRoom','DellarocasRoomHandler'),
               build_route('firstFloorArena', 'FirstFloorArenaHandler'),
               build_route('firstFloorTreasure','FirstFloorTreasureHandler'),
               
               build_route('Outside','OutsideHandler'),
               ]

application = webapp.WSGIApplication(game_routes, debug=True)

def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
